import yaml

class ConfigLoader:
    def __init__(self, config_path):
        self.config_path = config_path

    def load_config(self):
        with open(self.config_path, 'r') as f:
            config = yaml.safe_load(f)
        return config


# Test config_loader
if __name__ == '__main__':
    config_loader = ConfigLoader('../../config.yaml')
    config = config_loader.load_config()
    print(type(config))  # dict
    print(config)